﻿using System.Diagnostics;

namespace Gmantis.Controls.DataGrid
{
    public class Trace
    {
        public static void Assert(bool condition)
        {
            Debug.Assert(condition);
        }

        public static void Assert(bool condition, string message)
        {
            Debug.Assert(condition, message);
        }

        public static void Assert(bool condition, string message, string detailMessageFormat, params object[] args)
        {
            Debug.Assert(condition, message, detailMessageFormat, args);
        }

        public static void WriteLine(object value)
        {
            Debug.WriteLine(value);
        }

        public static void WriteLine(string message)
        {
            Debug.WriteLine(message);
        }

        public static void WriteLine(string format, params object[] args)
        {
            Debug.WriteLine(format, args);
        }
    }
}
